package com.hl.toolkit.server.tycoin.system.slaverservice;

import com.tycoin.common.repository.AbstractRepository;
import com.tycoin.common.service.AbstractService;
import com.tycoin.system.slaveentity.Dic;
import com.tycoin.system.slaverepository.DicRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class DicService extends AbstractService<Dic, Long> {

    @Autowired
    private DicRepository dicRepository;

    @Override
    public AbstractRepository<Dic, Long> getRepository() {
        return dicRepository;
    }

}
